package com.woniuxy.mesboot.mapper;

import com.woniuxy.mesboot.dto.PPDTO;
import com.woniuxy.mesboot.entity.MesProcessDetails;
import com.woniuxy.mesboot.vo.MesProcessDetailVO;
import com.woniuxy.mesboot.vo.ProcessVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lenovo-xx
* @description 针对表【mes_process_details(工序表)】的数据库操作Mapper
* @createDate 2023-05-29 20:29:11
* @Entity com.woniuxy.mesboot.entity.MesProcessDetails
*/
public interface MesProcessDetailsMapper {

    List<Integer> selectOByOP(@Param("operationProcedureId") Integer operationProcedureId, @Param("proDetailContent") String proDetailContent);

    List<ProcessVO> selectlist();

    MesProcessDetails selectMatNumByOperationProcedureId(Integer id);

    List<MesProcessDetailVO> selectByOperationProcedureId(Integer id);

    List<MesProcessDetails> selectAll();

    int deleteByPrimaryKey(Long id);

    int insert(MesProcessDetails record);

    int insertSelective(PPDTO record);

    MesProcessDetails selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MesProcessDetails record);

    int updateByPrimaryKey(MesProcessDetails record);

}
